using Esri.ArcGISRuntime.Geometry;
using Esri.ArcGISRuntime.Mapping;
using Map = Esri.ArcGISRuntime.Mapping.Map;

namespace QuickReportMaui.Views;

public partial class ReportsLibs : ContentPage
{
	public Esri.ArcGISRuntime.Mapping.Map Map { get; set; }
	public ReportsLibs()
	{
		InitializeComponent();

        //Map = new Map(BasemapStyle.OSMStreets);
        //var mapCenterPoint = new MapPoint(116.7963581069489, 36.53729500053177, SpatialReferences.Wgs84);
        //Map.InitialViewpoint = new Viewpoint(mapCenterPoint, 100000);
        ////Map.OperationalLayers.Add(new FeatureLayer(new Uri("")));

        //MyMapView.Map = Map;
    }

    private async void GoToPointTypes(object sender, EventArgs e)
    {
        await Shell.Current.GoToAsync("reportTypes");
    }
}